Skip to content

Add OWNERS, CODEOWNERS, and ansible-lint GitHub Action for Prow onboarding#18

Open
imatza-rh wants to merge 3 commits into
mainfrom
prow-onboarding
Open

Add OWNERS, CODEOWNERS, and ansible-lint GitHub Action for Prow onboarding#18
imatza-rh wants to merge 3 commits into
mainfrom
prow-onboarding

Conversation

@imatza-rh

@imatza-rh imatza-rh commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Enable Prow-based PR review workflow (/lgtm, /approve, /hold) and add GitHub Actions ansible-lint CI check.

Changes

  • OWNERS + OWNERS_ALIASES: Define approvers and reviewers for Prow using the full shiftstack engineering team
  • CODEOWNERS: Automatic reviewer assignment when PRs are opened
  • .github/workflows/ansible-lint.yml: GitHub Action running ansible-lint on PRs using the shiftstack-client container (same as gate.sh)
  • Lint fixes: Add missing changed_when: true to two tasks in get_openshift_release_binaries.yml and set vault password for CI

Next steps (separate PRs)

  1. PR to openshift/release to add Prow plugin + Tide config under core-services/prow/02_config/shiftstack/shiftstack-qa/
  2. Branch protection (org admin): require lint check + Tide before merge

Ref: OSPRH-32049

Onboard shiftstack-qa to Prow by adding OWNERS and OWNERS_ALIASES
files (team list from shiftstack-ci). Add GitHub Actions workflow
to run ansible-lint on PRs using the shiftstack-client container,
providing a status check for Tide to gate on.

Ref: OSPRH-32049
Change-Id: I2da24ec05257777d61600a1623bafe6a5670ced3
Signed-off-by: Itay Matza <imatza@redhat.com>
Add ANSIBLE_VAULT_PASSWORD_FILE env var to the GitHub Action so
ansible-lint can parse vault-encrypted secret.yaml.

Add missing changed_when: true to two tasks in
get_openshift_release_binaries.yml that modify state (extract pull
secret, extract OCP tools) to fix no-changed-when violations.

Ref: OSPRH-32049
Change-Id: Id34425370a73e003b0fa1160105713ed8691c6cd
Signed-off-by: Itay Matza <imatza@redhat.com>
@imatza-rh imatza-rh marked this pull request as ready for review June 29, 2026 14:42
Update OWNERS_ALIASES with the full shiftstack engineering team.
Add CODEOWNERS for automatic reviewer assignment on PRs.

Ref: OSPRH-32049
Change-Id: I76ab049af712bab5fdc40ff6dbd6b264e704e18f
Signed-off-by: Itay Matza <imatza@redhat.com>
@imatza-rh imatza-rh changed the title Add OWNERS, OWNERS_ALIASES, and ansible-lint GitHub Action Add OWNERS, CODEOWNERS, and ansible-lint GitHub Action for Prow onboarding Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant